﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using coliseu.Views.Condominio;
using coliseu.Views.Rotinas_Diarias;
using coliseu.Views.Servicos;

namespace coliseu
{
    public partial class FrmMenu : Form
    {
        public FrmMenu()
        {
            InitializeComponent();
        }

        private void tiposDeServiçoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmListTipoServico x = new FrmListTipoServico();
            x.MdiParent = this;
            x.Show();
        }

        private void blocosToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmListBloco x = new FrmListBloco();
            x.MdiParent = this;

            x.Show();
        }

        private void criaçãoDeBlocosToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmWizardBloco w = new FrmWizardBloco();
            w.ShowDialog();
        }

        private void FrmMenu_SizeChanged(object sender, EventArgs e)
        {
            BackgroundImage = coliseu.Properties.Resources.Background1;
        }

        private void apartamentosToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmListApartamento x = new FrmListApartamento();
            x.MdiParent = this;
            x.Show();
        }

        private void cargosToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmListCargo x = new FrmListCargo();
            x.MdiParent = this;
            x.Show();
        }

        private void áreasLazerToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmListLazer a = new FrmListLazer();
            a.MdiParent = this;
            a.Show();
        }

        private void funcionáriosToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmListFuncionario a = new FrmListFuncionario();
            a.MdiParent = this;
            a.Show();
        }

        private void garagensToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmListGaragem a = new FrmListGaragem();
            a.MdiParent = this;
            a.Show();
        }

        private void moradoresToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            FrmListMorador a = new FrmListMorador();
            a.MdiParent = this;
            a.Show();
        }

        private void usuárioToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            FrmLisUsuario u = new FrmLisUsuario();
            u.MdiParent = this;
            u.Show();
        }

        private void grupoDeAcessoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmCadGrupoAcesso ga = new FrmCadGrupoAcesso();
            ga.MdiParent = this;
            ga.Show();
        }

        private void visitantesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmListVisitante ga = new FrmListVisitante();
            ga.MdiParent = this;
            ga.Show();
        }

        private void agendaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmListRotina r = new FrmListRotina();
            r.MdiParent = this;
            r.Show();
        }

        private void prazosVencimentosToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmListVencimento r = new FrmListVencimento();
            r.MdiParent = this;
            r.Show();
        }

        private void reservasToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmListReserva r = new FrmListReserva();
            r.MdiParent = this;
            r.Show();
        }

        private void fornecedoresToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmListFornecedor r = new FrmListFornecedor();
            r.MdiParent = this;
            r.Show();
        }
    }
}
